eFAWATEERcom Bank Prc
Prepaid Payment
URLs :
Description : This service allows the channel or Bank itself to initiate a Prepaid payment before payment to eFAWATEERcom through Bank Account.
The Bill Payment service for postpaid through account permits Bank and channels to create new postpaid payment record in eFAWATEERcom. The service is intended to involve a set of validations on the received payment, if the validation process is successful,eFAWATEERcom will generate a payment transaction number ‘JOEBPPSTrx’ and return it in the response message to the Bank/PSP. Bank/PSP should get the latest bill details first by sending bill inquiry request.
Mulesoft Request:
Mandatory Headers: x-channel-id,x-client-trace-id, x-bank-id,client_id, client_secret
Optional Headers: x-sub-channel-id, x-user-id, Authorization, x-debug-flag, x-customer-id
Request Body: application/json
{
"prepaidPayment": {
"trxInf": [
{
"acctInfo": {
"billingNo": "1325646",
"billerCode": 3
},
"validationCode": 883483,
"bankTrxID": "RAJ32165489",
"pmtStatus": "PmtNew",
"dueAmt": 10,
"paidAmt": 10,
"processDate": "2013-12-25T12:53:00",
"accessChannel": "DirectPay",
"paymentMethod": "ACTDEB",
"serviceTypeDetails": {
"serviceType": "FixedLine",
"prepaidCat": "49"
},
"payerInfo": {
"name": "Name",
"joebppsNo": 45645
}
}
]
}
}
Mulesoft Response:
Success Response: (200)
Response Body: application/json
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"prepaidPayment": {
"trxInf": [
{
"acctInfo": {
"billingNo": "1325646",
"billerCode": 3
},
"bankTrxID": "RAJ32165489",
"pmtStatus": "PmtNew",
"dueAmt": 10,
"paidAmt": 10,
"processDate": "2013-12-25T12:53:00",
"stmtDate": " 2013-12-25",
"joebppsTrx": 150945657,
"result": {
"errorCode": "0",
"errorDesc": "Success",
"severity": "Info"
}
}
]
}
}
}
Sample Error Response:
Error codes :
400:
content-type: JSON
{
"success": false,
"code": "400",
"reasonCode": "Bad Request",
"arabicMessage": "Ø§Ù‚ØªØ±Ø§Ø ØºÙŠØ± جي",
"englishMessage": "paymentMethod is invalid"
}